import {createRouter,createWebHashHistory} from 'vue-router'

import Home from '../home.vue'

const router = createRouter({
    history:createWebHashHistory(),
    routes:[
        {
            path:'/',
            name:'Home',
            component:Home
        },
        {
            path:'/home/comp1',
            name:'Comp1',
            component:()=>import('../comp1.vue')
        },
        {
            path:'/home/:urlPath(.*)*',
            name:'NF',
            component:()=>import('../nf.vue')
        }
    ]
})

export default router